object frmSalePackage: TfrmSalePackage
  Left = 48
  Top = 96
  Width = 908
  Height = 632
  Caption = #1055#1088#1086#1076#1072#1078#1072' '#1090#1086#1074#1072#1088#1072
  Color = clBtnFace
  Font.Charset = DEFAULT_CHARSET
  Font.Color = clWindowText
  Font.Height = -11
  Font.Name = 'MS Sans Serif'
  Font.Style = []
  OldCreateOrder = False
  Position = poDesktopCenter
  OnClose = FormClose
  OnResize = FormResize
  PixelsPerInch = 96
  TextHeight = 13
  object pnlTop: TPanel
    Left = 0
    Top = 26
    Width = 900
    Height = 72
    Align = alTop
    BevelOuter = bvNone
    TabOrder = 2
    DesignSize = (
      900
      72)
    object lblTitle: TStaticText
      Left = 0
      Top = 0
      Width = 900
      Height = 41
      Align = alTop
      Alignment = taCenter
      AutoSize = False
      Caption = #1058#1086#1074#1072#1088
      Font.Charset = RUSSIAN_CHARSET
      Font.Color = clMaroon
      Font.Height = -32
      Font.Name = 'MS Sans Serif'
      Font.Style = [fsBold]
      ParentFont = False
      TabOrder = 2
    end
    object StaticText1: TStaticText
      Left = 452
      Top = 47
      Width = 63
      Height = 17
      Anchors = [akRight, akBottom]
      Caption = #1050#1086#1083#1080#1095#1077#1089#1090#1074#1086
      TabOrder = 3
    end
    object seCountWares: TcxSpinEdit
      Left = 516
      Top = 45
      Width = 121
      Height = 21
      Anchors = [akRight, akBottom]
      Properties.ValueType = vtFloat
      Properties.OnChange = seCountWaresPropertiesChange
      TabOrder = 0
      OnKeyDown = seCountWaresKeyDown
    end
    object StaticText2: TStaticText
      Left = 643
      Top = 47
      Width = 59
      Height = 17
      Anchors = [akRight, akBottom]
      Caption = #1057#1090#1086#1080#1084#1086#1089#1090#1100
      TabOrder = 4
    end
    object btnSetCount: TButton
      Left = 838
      Top = 44
      Width = 40
      Height = 23
      Action = actSetCount
      Anchors = [akRight, akBottom]
      ParentShowHint = False
      ShowHint = True
      TabOrder = 5
    end
    object sePrice: TcxSpinEdit
      Left = 708
      Top = 45
      Width = 121
      Height = 21
      Anchors = [akRight, akBottom]
      Properties.ValueType = vtFloat
      TabOrder = 1
      OnKeyDown = seCountWaresKeyDown
    end
  end
  object pnlClient: TPanel
    Left = 0
    Top = 98
    Width = 900
    Height = 454
    Align = alClient
    BevelOuter = bvNone
    TabOrder = 0
    object Splitter1: TSplitter
      Left = 462
      Top = 0
      Width = 2
      Height = 454
      Align = alRight
    end
    object gbWaresList: TGroupBox
      Left = 0
      Top = 0
      Width = 462
      Height = 454
      Align = alClient
      Caption = #1057#1087#1080#1089#1086#1082' '#1080#1084#1077#1102#1097#1080#1093#1089#1103' '#1090#1086#1074#1072#1088#1086#1074
      TabOrder = 0
      object grWaresList: TcxGrid
        Left = 2
        Top = 15
        Width = 458
        Height = 437
        Align = alClient
        TabOrder = 0
        object grWaresListDBTableView1: TcxGridDBTableView
          PopupMenu = PopupMenu2
          OnKeyDown = grWaresListDBTableView1KeyDown
          NavigatorButtons.ConfirmDelete = False
          OnCellDblClick = grWaresListDBTableView1CellDblClick
          DataController.DataSource = dsAvWares
          DataController.Summary.DefaultGroupSummaryItems = <>
          DataController.Summary.FooterSummaryItems = <>
          DataController.Summary.SummaryGroups = <>
          OptionsBehavior.IncSearch = True
          OptionsBehavior.IncSearchItem = grWaresListDBTableView1DBtitle
          OptionsData.CancelOnExit = False
          OptionsData.Deleting = False
          OptionsData.DeletingConfirmation = False
          OptionsData.Editing = False
          OptionsData.Inserting = False
          OptionsSelection.CellSelect = False
          OptionsView.ColumnAutoWidth = True
          OptionsView.GroupByBox = False
          Styles.IncSearch = DM.sIncSearch
          Styles.Selection = DM.sSelection
          Styles.GroupByBox = DM.sGroupBox
          Styles.Header = DM.sHeader
          object grWaresListDBTableView1DBcat: TcxGridDBColumn
            Caption = #1050#1072#1090#1077#1075#1086#1088#1080#1103
            DataBinding.FieldName = 'value'
            Width = 73
          end
          object grWaresListDBTableView1DBCode: TcxGridDBColumn
            Caption = #1040#1088#1090'.'
            DataBinding.FieldName = 'code'
            HeaderAlignmentHorz = taCenter
            Width = 37
          end
          object grWaresListDBTableView1DBtitle: TcxGridDBColumn
            Caption = #1053#1072#1079#1074#1072#1085#1080#1077
            DataBinding.FieldName = 'title'
            HeaderAlignmentHorz = taCenter
            MinWidth = 100
            Options.Filtering = False
            SortIndex = 0
            SortOrder = soAscending
            Width = 300
          end
          object grWaresListDBTableView1DBprice: TcxGridDBColumn
            Caption = #1062#1077#1085#1072
            DataBinding.FieldName = 'sale_price'
            HeaderAlignmentHorz = taCenter
            MinWidth = 40
            Width = 43
          end
          object grWaresListDBTableView1DBstay: TcxGridDBColumn
            Caption = #1054#1089#1090#1072#1090#1086#1082
            DataBinding.FieldName = 'stay_wares'
            HeaderAlignmentHorz = taCenter
            MinWidth = 40
            Styles.Content = DM.sReturnOther
            Width = 55
          end
        end
        object grWaresListLevel1: TcxGridLevel
          GridView = grWaresListDBTableView1
        end
      end
    end
    object gbSaleList: TGroupBox
      Left = 464
      Top = 0
      Width = 436
      Height = 454
      Align = alRight
      Caption = #1057#1087#1080#1089#1086#1082' '#1087#1086#1082#1091#1087#1072#1077#1084#1099#1093' '#1090#1086#1074#1072#1088#1086#1074
      TabOrder = 1
      object grBasket: TcxGrid
        Left = 2
        Top = 15
        Width = 432
        Height = 437
        Align = alClient
        TabOrder = 0
        object grBasketDBTableView1: TcxGridDBTableView
          PopupMenu = PopupMenu1
          OnKeyDown = grBasketDBTableView1KeyDown
          NavigatorButtons.ConfirmDelete = False
          OnCellDblClick = grBasketDBTableView1CellDblClick
          DataController.DataSource = dsBasket
          DataController.Summary.DefaultGroupSummaryItems = <>
          DataController.Summary.FooterSummaryItems = <
            item
              Kind = skSum
              Column = grBasketDBTableView1DBprice
            end>
          DataController.Summary.SummaryGroups = <>
          OptionsBehavior.AlwaysShowEditor = True
          OptionsBehavior.GoToNextCellOnEnter = True
          OptionsCustomize.ColumnFiltering = False
          OptionsCustomize.ColumnGrouping = False
          OptionsCustomize.ColumnMoving = False
          OptionsCustomize.ColumnSorting = False
          OptionsData.Deleting = False
          OptionsData.DeletingConfirmation = False
          OptionsData.Editing = False
          OptionsData.Inserting = False
          OptionsView.ColumnAutoWidth = True
          OptionsView.Footer = True
          OptionsView.GroupByBox = False
          Styles.Selection = DM.sSelection
          Styles.GroupByBox = DM.sGroupBox
          Styles.Header = DM.sHeader
          object grBasketDBTableView1DBid_wares: TcxGridDBColumn
            Caption = #1053#1072#1079#1074#1072#1085#1080#1077
            DataBinding.FieldName = 'id_wares'
            PropertiesClassName = 'TcxLookupComboBoxProperties'
            Properties.KeyFieldNames = 'id_wares'
            Properties.ListColumns = <
              item
                FieldName = 'title'
              end>
            Properties.ListSource = dsAvWares
            HeaderAlignmentHorz = taCenter
            Options.Editing = False
            Width = 219
          end
          object grBasketDBTableView1DBstay: TcxGridDBColumn
            Caption = #1050#1086#1083#1080#1095#1077#1089#1090#1074#1086
            DataBinding.FieldName = 'count_wares'
            HeaderAlignmentHorz = taCenter
            Options.Editing = False
            Width = 79
          end
          object grBasketDBTableView1DBprice: TcxGridDBColumn
            Caption = #1057#1091#1084#1084#1072
            DataBinding.FieldName = 'wares_price'
            HeaderAlignmentHorz = taCenter
            Options.Editing = False
            Width = 55
          end
        end
        object grBasketLevel1: TcxGridLevel
          GridView = grBasketDBTableView1
        end
      end
    end
  end
  object StatusBar1: TStatusBar
    Left = 0
    Top = 586
    Width = 900
    Height = 19
    Panels = <
      item
        Text = #1057#1082#1083#1072#1076
        Width = 50
      end
      item
        Width = 250
      end
      item
        Width = 20
      end
      item
        Text = #1055#1088#1086#1076#1072#1074#1077#1094
        Width = 70
      end
      item
        Width = 250
      end
      item
        Width = 20
      end
      item
        Width = 150
      end
      item
        Width = 20
      end>
  end
  object pnlBottom: TPanel
    Left = 0
    Top = 552
    Width = 900
    Height = 34
    Align = alBottom
    BevelOuter = bvNone
    TabOrder = 1
    DesignSize = (
      900
      34)
    object bPay: TButton
      Left = 550
      Top = 4
      Width = 266
      Height = 25
      Action = actPay
      Anchors = [akRight, akBottom]
      ParentShowHint = False
      ShowHint = True
      TabOrder = 0
    end
    object bClose: TButton
      Left = 823
      Top = 4
      Width = 75
      Height = 25
      Anchors = [akRight, akBottom]
      Caption = #1047#1072#1082#1088#1099#1090#1100
      TabOrder = 1
      OnClick = bCloseClick
    end
  end
  object bSelectMatOtv: TButton
    Left = 232
    Top = 50
    Width = 49
    Height = 22
    Action = actSelectWorker
    Caption = '...'
    ParentShowHint = False
    ShowHint = True
    TabOrder = 4
  end
  object bSelectSaller: TButton
    Left = 176
    Top = 50
    Width = 49
    Height = 22
    Action = actSelectWorkerSale
    Caption = '...'
    ParentShowHint = False
    ShowHint = True
    TabOrder = 5
  end
  object deDateSale: TcxDateEdit
    Left = 48
    Top = 50
    Width = 121
    Height = 22
    AutoSize = False
    Properties.DateButtons = [btnToday]
    Properties.Kind = ckDateTime
    Style.BorderStyle = ebs3D
    TabOrder = 6
  end
  object tbTop: TToolBar
    Left = 0
    Top = 0
    Width = 900
    Height = 26
    ButtonWidth = 24
    Caption = 'tbTop'
    Images = DM.ImageListMain
    TabOrder = 7
    object tbtnSelClient: TToolButton
      Left = 0
      Top = 2
      Action = actSelectClient
      ParentShowHint = False
      ShowHint = True
    end
    object tbtnSelCard: TToolButton
      Left = 24
      Top = 2
      Action = actSelectCard
      ParentShowHint = False
      ShowHint = True
    end
    object ToolButton3: TToolButton
      Left = 48
      Top = 2
      Width = 41
      Caption = 'ToolButton3'
      ImageIndex = 18
      Style = tbsSeparator
    end
    object lClientFio: TcxLabel
      Left = 89
      Top = 3
      Width = 166
      Height = 20
      Caption = #1050#1083#1080#1077#1085#1090' - <'#1053#1077' '#1074#1099#1073#1088#1072#1085'>'
      ParentFont = False
      Style.Font.Charset = DEFAULT_CHARSET
      Style.Font.Color = clWindowText
      Style.Font.Height = -13
      Style.Font.Name = 'MS Sans Serif'
      Style.Font.Style = [fsBold]
    end
  end
  object ActionList1: TActionList
    Images = DM.ImageListMain
    Left = 40
    Top = 424
    object actSetCountFocus: TAction
      Caption = #1042#1074#1086#1076' '#1082#1086#1083#1080#1095#1077#1089#1090#1074#1072
      ShortCut = 16433
      OnExecute = actSetCountFocusExecute
    end
    object actWaresListFocus: TAction
      Caption = #1053#1072' '#1089#1087#1080#1089#1086#1082' '#1090#1086#1074#1072#1088#1086#1074
      ShortCut = 16434
      OnExecute = actWaresListFocusExecute
    end
    object actSalelIstFocus: TAction
      Caption = #1053#1072' '#1089#1087#1080#1089#1086#1082' '#1087#1086#1082#1091#1087#1086#1082
      ShortCut = 16435
      OnExecute = actSalelIstFocusExecute
    end
    object actPay: TAction
      Caption = #1054#1087#1083#1072#1090#1080#1090#1100
      Hint = #1054#1087#1083#1072#1090#1080#1090#1100' '#1074#1099#1073#1088#1072#1085#1085#1099#1077' '#1090#1086#1074#1072#1088#1099
      ShortCut = 16436
      OnExecute = actPayExecute
      OnUpdate = actPayUpdate
    end
    object actSelectWorker: TAction
      Caption = #1042#1099#1073#1088#1072#1090#1100
      Hint = #1042#1099#1073#1088#1072#1090#1100' '#1089#1082#1083#1072#1076
      ShortCut = 16437
      OnExecute = actSelectWorkerExecute
    end
    object actSelectWorkerSale: TAction
      Caption = #1042#1099#1073#1088#1072#1090#1100
      Hint = #1042#1099#1073#1088#1072#1090#1100' '#1087#1088#1086#1076#1072#1074#1094#1072
      ShortCut = 16438
      OnExecute = actSelectWorkerSaleExecute
    end
    object actAddToBasket: TAction
      Caption = #1042' '#1089#1087#1080#1089#1086#1082' '#1087#1086#1082#1091#1087#1086#1082
      Hint = #1044#1086#1073#1072#1074#1080#1090#1100' '#1090#1086#1074#1072#1088' '#1074' '#1089#1087#1080#1089#1086#1082' '#1087#1086#1082#1091#1087#1072#1077#1084#1099#1093' (Enter)'
      OnExecute = actAddToBasketExecute
      OnUpdate = actAddToBasketUpdate
    end
    object actDeleteFromBasket: TAction
      Caption = #1048#1079' '#1089#1087#1080#1089#1082#1072' '#1087#1086#1082#1091#1087#1086#1082
      OnExecute = actDeleteFromBasketExecute
      OnUpdate = actDeleteFromBasketUpdate
    end
    object actSetCount: TAction
      Caption = #1042#1074#1086#1076
      Hint = #1057#1082#1086#1088#1088#1077#1082#1090#1080#1088#1086#1074#1072#1090#1100' '#1082#1086#1083#1080#1095#1077#1089#1090#1074#1086' '#1080' '#1089#1090#1086#1080#1084#1086#1089#1090#1100' '#1090#1086#1074#1072#1088#1072
      OnExecute = actSetCountExecute
      OnUpdate = actDeleteFromBasketUpdate
    end
    object actSelectClient: TAction
      Caption = #1042#1099#1073#1088#1072#1090#1100' '#1082#1083#1080#1077#1085#1090#1072
      Hint = #1042#1099#1073#1088#1072#1090#1100' '#1082#1083#1080#1077#1085#1090#1072' '#1080#1079' '#1073#1072#1079#1099' '#1074#1088#1091#1095#1085#1091#1102
      ImageIndex = 10
      ShortCut = 16439
      OnExecute = actSelectClientExecute
    end
    object actSelectCard: TAction
      Caption = #1042#1099#1073#1088#1072#1090#1100' '#1082#1083#1080#1077#1085#1090#1072' '#1087#1086' '#1082#1072#1088#1090#1077
      Hint = #1042#1099#1073#1088#1072#1090#1100' '#1082#1083#1080#1077#1085#1090#1072' '#1080#1079' '#1073#1072#1079#1099' '#1087#1086' '#1082#1072#1088#1090#1077
      ImageIndex = 17
      ShortCut = 16440
      OnExecute = actSelectCardExecute
    end
  end
  object adsAvWares: TADODataSet
    Connection = DM.Conection
    LockType = ltBatchOptimistic
    Parameters = <>
    Left = 34
    Top = 307
  end
  object dsAvWares: TDataSource
    DataSet = adsAvWares
    Left = 66
    Top = 307
  end
  object dsBasket: TDataSource
    DataSet = adsBasket
    Left = 651
    Top = 163
  end
  object adsBasket: TADODataSet
    Connection = DM.Conection
    LockType = ltBatchOptimistic
    AfterScroll = adsBasketAfterScroll
    Parameters = <>
    Left = 715
    Top = 167
  end
  object PopupMenu1: TPopupMenu
    Left = 675
    Top = 261
    object N1: TMenuItem
      Action = actDeleteFromBasket
      Caption = #1059#1076#1072#1083#1080#1090#1100' '#1079#1072#1087#1080#1089#1100
    end
  end
  object adcTemp: TADOCommand
    Connection = DM.Conection
    Parameters = <>
    Left = 42
    Top = 228
  end
  object PopupMenu2: TPopupMenu
    Left = 363
    Top = 365
    object MenuItem1: TMenuItem
      Action = actAddToBasket
    end
    object actSetCountFocus1: TMenuItem
      Action = actSetCountFocus
    end
  end
  object Timer1: TTimer
    Enabled = False
    OnTimer = Timer1Timer
    Left = 8
    Top = 50
  end
end
